///all
const String queryAll = """
    query GetProductsByCategorySlug(\$first: Int, \$after: String, \$orderby: [ProductsOrderbyInput], 
      \$featured: Boolean, \$categorySlug: String) {
      products(
        first: \$first
        after: \$after
        where: {orderby: \$orderby, category: \$categorySlug, featured: \$featured}
      ) {
        pageInfo {
          hasNextPage
          endCursor
          offsetPagination {
            total
          }
        }
        edges {
          node {
            databaseId
            name
            slug
            averageRating
            image {
              sourceUrl
            }
            shortDescription
            ... on SimpleProduct {
              price
              salePrice
              regularPrice
              stockStatus
              galleryImages {
                nodes {
                  sourceUrl
                }
              }
              productCategories {
                edges {
                  node {
                    name
                    slug
                  }
                }
              }
            }
            ... on VariableProduct {
              price
              salePrice
              regularPrice
              galleryImages {
                nodes {
                  sourceUrl
                }
              }
              stockStatus
              productCategories {
                edges {
                  node {
                    name
                    slug
                  }
                }
              }
            }
          }
        }
      }
    }
  """;
/*
https://react.glassesin.com/wp-admin/admin.php?page=graphiql-ide&query=FARwrgpgTgngBAcQgFwApQPYBMwGNkDOAQjAMICGyEA5hrAMoA2Y1AFACQBmAllAcgC44ASQB2yADRx25TlShD6yKN1HUp7OlmgAjGEIDa6bHkIB5KNqh6xABzDIAuhOBxpnCJTBQIWAUQwMRk9RFzd2XEoaOhgmFkVlVWoASjgAb1c4W0wcfAJWTLcePkF3Xn5CuFl5IRk5aEqAdwALaAghNK1dfWku6xgpSKpaWFqh6IZmdTgPLx8-d09kb18AX0zUjLc3W3JqCDFODHTKt2byAgA5CAAPND2IU7gIUSxSbwI6J4xOTgIUVB7VSUbgYUQnbaQuDIDDIciMJ7rSFI7a%2BfYECFQ0TYCCYqFwLCUcg6C4HLBPNyicgAW0e%2BLcBCmFKqADdoA8AEogtTM7jUh54%2Bmfby4CAAVSgCPpcBR%2BIIzToyAAIhACLgVLZkKDRMyAHT6uBguD0Pm2YLGXLIQX47LcUXMhnwiDoO106VwHzUMCMchQF3291wfgYXAAayUXgIDrg1HhwVgwn56Ot9Ox2gxW0D22FUFFEqlWdl9KLNpypgowzo3FVKfxaJrmazcDTuMbTebNLd7aDTO7JeL0f7biHcH1usN4IAar7uMTzWX8LXIbaA%2B6CE7-V36Z7vb7N9HY4x4zBEw8M9HKTjz92c3nJReZYPo8GwxHllHA9kTPgKxNq9es3rACmxbJdpSpWkH0hRkWCgx8mxHYdmX7IsUXWVYgA
query GetProductsByCategorySlug($first: Int, $after: String, $orderby: [ProductsOrderbyInput],
  $featured:Boolean,
  $categorySlug: String) {
  products(
    first: $first
    after: $after
    where: {orderby: $orderby, category: $categorySlug, featured: $featured}
  ) {
    pageInfo {
      hasNextPage
      endCursor
      offsetPagination {
        total
      }
    }
    edges {
      node {
        databaseId
        name
        slug
        averageRating
        image {
          sourceUrl
        }
        shortDescription
        ... on SimpleProduct {
          price
          salePrice
          regularPrice
          stockStatus
          galleryImages {
            nodes {
              sourceUrl
            }
          }
          productCategories {
            edges {
              node {
                name
                slug
              }
            }
          }
        }
        ... on VariableProduct {
           price
          salePrice
          regularPrice
          galleryImages {
            nodes {
              sourceUrl
            }
          }
          stockStatus
          productCategories {
            edges {
              node {
                name
                slug
              }
            }
          }
        }
      }
    }
  }
}
*/